cURL
curl --request PUT \ --url https://agent-prod.studio.lyzr.ai/v3/tools/{tool_id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{}'
{ "message": "Tool updated successfully." }
This endpoint allows updating an existing tool’s configuration.
/v3/tools/{tool_id}
tool_id
curl -X PUT "https://agent-prod.studio.lyzr.ai/v3/tools/tool_id" ^ -H "accept: application/json" ^ -H "content-type: application/json" ^ -H "x-api-key: sk-default-EXAMPLEKEY123" ^ -d "{}"
The ID of the tool to update.
JSON object containing the fields to be updated.
The body is of type object.
object
Tool updated successfully
"Tool updated successfully."